\newpage

\section{一级标题（算法）}

这里我们介绍算法的排版
\footnote{\url{https://www.overleaf.com/latex/examples}.}
。

\subsection{二级标题}

\begin{algorithm}
\caption{Euclid's algorithm}\label{alg:euclid}
\begin{algorithmic}[1]
\Procedure{Euclid}{$a,b$}\Comment{The g.c.d. of a and b}
\State $r\gets a\bmod b$
\While{$r\not=0$}\Comment{We have the answer if r is 0}
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\label{euclidendwhile-1}
\State \textbf{return} $b$\Comment{The gcd is b}
\EndProcedure
\end{algorithmic}
\end{algorithm}


\subsection{二级标题}

\begin{algorithm}
\caption{欧几里得算法}\label{alg:euclid-cn}
\begin{algorithmic}[1]
\Procedure{Euclid}{$a,b$}\Comment{计算 $a$ 与 $b$ 的最大公因子}
\State $r\gets a\bmod b$
\While{$r\not=0$}\Comment{当 $r=0$ 时计算结束}
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\label{euclidendwhile-2}
\State \textbf{return} $b$\Comment{最大公因子为 $b$ }
\EndProcedure
\end{algorithmic}
\end{algorithm}


\subsection{二级标题}





